package top.yzlin.dblock;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;


@Configuration
@ComponentScan
@PropertySource("classpath:application-context.properties")
public class ApplicationMain {

    public static void main(String[] args) {
        new AnnotationConfigApplicationContext(ApplicationMain.class);
    }
}
